const Mock = require("mockjs");
const data = Mock.mock({
  "personCheck|10": [
    {
      name: "@cname",
      id: "@id",
      address: "@city",
      "price|10000-20000": 1,
      tel: /1[3-9]\d{9}/,
    },
  ],
  "personList|10": [
    {
      name: "@cname",
      id: "@id",
      address: "@city",
      "price|10000-20000": 1,
      tel: /1[3-9]\d{9}/,
    },
  ],
  "list|200-300": [
    {
      "price|2-100": 1,
      "type|1": ["轿车", "跑车", "SUV", "青客", "卡车"],
      "score|0-5": 1,
      "name": '@cname',
      "url": '@image(120x100, @color, car)',
      "id": '@id'
    },
  ],
});

module.exports = data;
